package com.xbongbong.workflow.pojo.nodes;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author chenpeng
 * @version 1.0
 * @date 2021-05-10 15:32
 * @description 删除记录节点
 */
@Getter
@Setter
@ToString
public class DeleteRecordNode implements Serializable {

    private static final long serialVersionUID = 938095269702388933L;
    /**
     * 工作节点id
     */
    @NotNull(message = "{dto.msg.workflowNodeId.NotNull}")
    private Long workflowNodeId;
    
    /**
     * 是否是触发节点字段的标识，0:不是；1:是
     */
    @NotNull(message = "{dto.msg.triggerNodeFlag.NotNull}")
    private Integer triggerNodeFlag;
}
